package com.css.fxfzaqbz.modules.data.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzaqbz.modules.data.entity.ActiveFaultData;
import com.css.fxfzaqbz.modules.data.entity.AirportData;
import com.css.fxfzaqbz.modules.data.queryParams.ActiveFaultDataQueryParams;
import com.css.fxfzaqbz.modules.data.queryParams.AirportDataQueryParams;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface AirportDataService {
    //AirportData updateAirportData(ActiveFaultData activeFaultData);
    AirportData  saveAirportData(AirportData airportData);
    JSONObject getAllAirportData(AirportDataQueryParams queryParams);
    AirportData getAirportDataById(String id);
    void deleteAirportDatas(List<String> ids);
    //下载表中内容
    List<AirportData>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException;
}
